//
//  RansomModel.h
//  LuCaiZhu
//
//  Created by 邓龙 on 2019/4/10.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

//赎回列表
@interface RansomModel : NSObject

@property (nonatomic, copy) NSString *ProductID; //产品ID
@property (nonatomic, copy) NSString *CustomerID; //客户ID
@property (nonatomic, copy) NSString *ProductName; //产品名称
@property (nonatomic, copy) NSString *ContractNo; //合同编号
@property (nonatomic, copy) NSString *ProductOpenDay; //最新开放日
@property (nonatomic, copy) NSString *RedeemCloseDay; //赎回截止日期
@property (nonatomic, copy) NSString *IsRedeem; //是否可以赎回
@property (nonatomic, copy) NSString *RedeemMessage; //不能赎回原因
@property (nonatomic, copy) NSString *SurvivingShareCount; //存续份额
@property (nonatomic, copy) NSString *SurvivingAmount; //存续金额

@end

//赎回订单
@interface RansomOrderModel : NSObject

@property (nonatomic, copy) NSString *Status; //订单状态
@property (nonatomic, copy) NSString *RedeemCode; //订单code
@property (nonatomic, copy) NSString *AccountName; //客户名称
@property (nonatomic, copy) NSString *RedeemOpenDay; //开放日/成立日
@property (nonatomic, copy) NSString *RedeemShare; //赎回份额
@property (nonatomic, copy) NSString *ProductName; //产品名称
@property (nonatomic, copy) NSString *RedeemId; //赎回id
@property (nonatomic, copy) NSString *IsEdit; //是否可以编辑
@property (nonatomic, copy) NSString *IsDel; //是否可以作废

@end

//赎回订单详情
@interface RansomOrderDetModel : NSObject

@property (nonatomic, copy) NSString *RedeemId; //订单Id
@property (nonatomic, copy) NSString *ProductName; //产品名称
@property (nonatomic, copy) NSString *RedeemOpenDay; //赎回开放日
@property (nonatomic, copy) NSString *RedeemDate; //赎回日期
@property (nonatomic, copy) NSString *BuyFee; //认购金额
@property (nonatomic, copy) NSString *BuyNet; //认购净值
@property (nonatomic, copy) NSString *RedeemNet; //赎回净值
@property (nonatomic, copy) NSString *ApplyRedeemShare; //申请赎回份额
@property (nonatomic, copy) NSString *RedeemFeeActually; //实际赎回金额
@property (nonatomic, copy) NSString *RedeemShareActually; //实际赎回份额
@property (nonatomic, copy) NSString *RedeemStatus; //赎回状态
@property (nonatomic, copy) NSString *IsEdite; //是否可编辑，0不可，1可以
@property (nonatomic, copy) NSString *IsDelete; //是否可废除，0不可，可以

@end

//赎回订单明细
@interface RansomOrderDetInfoModel : NSObject

@property (nonatomic, copy) NSString *OrderCode; //订单编号
@property (nonatomic, copy) NSString *OrderOpenDate; //对应开放日
@property (nonatomic, copy) NSString *BookingType;
@property (nonatomic, copy) NSString *OrderCunXunShare; //订单存续份额
@property (nonatomic, copy) NSString *RedeemShareLine; //赎回份额拆分
@property (nonatomic, copy) NSString *OrderLeftShare; //剩余份额
@property (nonatomic, copy) NSString *BuyNet; //认购净值
@property (nonatomic, copy) NSString *RedeemNet; //赎回净值
@property (nonatomic, copy) NSString *Profit; //收益
@property (nonatomic, copy) NSString *ProfitRate; //收益率

@end

//新建赎回单显示
@interface NewRansomOrderModel : NSObject

@property (nonatomic, copy) NSString *ProductName; //产品名称
@property (nonatomic, copy) NSString *RedeemOpenDayShow; //开放日
@property (nonatomic, copy) NSString *RedeemDue; //赎回截止日期
@property (nonatomic, copy) NSString *TotalAmount; //累计认购金额（万元）
@property (nonatomic, copy) NSString *TotalShare; //累计存续份额
@property (nonatomic, copy) NSString *OpenShare; //开放份额
@property (nonatomic, copy) NSString *ClosedShare; //封闭份额
@property (nonatomic, copy) NSString *Redeemshare; //赎回份额
@property (nonatomic, copy) NSString *ReferenceAmount; //参考赎回金额
@property (nonatomic, copy) NSString *BookingNet; //认购净值
@property (nonatomic, copy) NSString *ProductNet; //最新净值

@property (nonatomic, copy) NSString *AccountName; //客户名称
@property (nonatomic, copy) NSString *CustomerID; //客户ID
@property (nonatomic, copy) NSString *ProductId; //母产品ID
@property (nonatomic, copy) NSString *SubProductId; //子产品ID
@property (nonatomic, copy) NSString *ContractNo; //合同号
@property (nonatomic, copy) NSString *PartRedeem; //可否部分赎回
@property (nonatomic, copy) NSString *Currency; //币别
@property (nonatomic, copy) NSString *ClosePeriodRedeem; //封闭期可否赎回   如为是 赎回份额不能超过 开放份额+封闭期份额 反之 赎回份额不能超过开放份额

@end

//赎回详细信息
@interface RansomDetailInfoModel : NSObject

@property (nonatomic, copy) NSString *InvestmentAmount; //投资金额
@property (nonatomic, copy) NSString *InvestUnitNet; //投资单位净值
@property (nonatomic, copy) NSString *InvestShare; //投资份额
@property (nonatomic, copy) NSString *ApplyRedeemShare; //申请赎回份额
@property (nonatomic, copy) NSString *ActrualRedeemShare; //实际赎回份额
@property (nonatomic, copy) NSString *ActrualRedeemAmount; //实际赎回金额
@property (nonatomic, copy) NSString *RedeemNet; //赎回净值
@property (nonatomic, copy) NSString *ProfitRate; //收益率
@property (nonatomic, copy) NSString *RedeemID; //赎回id

@end


NS_ASSUME_NONNULL_END
